#!/bin/bash
set -o nounset                              # Treat unset variables as an error
echo '
      set terminal epslatex color colortext
      set output "jive_final.tex"
      set xlabel "Time(s)"
      set ylabel "Mb/s"
      set key center right
      plot "data/jive_final" using 1:3 with line title "Total","data/jive_final" using 1:9 with line title "Stream 0","data/jive_final" using 1:10 with line title "Stream 1","data/jive_final" using 1:11 with line title "Stream 2","data/jive_final" using 1:12 with line title "Stream 3"
' |gnuplot -persist      
